package com.richfit.cuba.modular.common;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface CommonMapper<T> extends BaseMapper<T> {

	/**
	 * 客户自定义查询检测数据SQL
	 * @param page
	 * @return
	 */
	public IPage<T> getCustomerPage(Page<T> page, @Param("ew")Wrapper<T> entity, @Param("year") int year);
}
